Sample = [
    {
        'html' : '模版一.html',
        'summary' : {
          'type' : 'pattern',
          'pattern' : r'<!--######SUMMARY_START######-->(.*?)<!--######SUMMARY_END######-->',
          'replace' :  "<!--######SUMMARY_START######-->{}<!--######SUMMARY_END######-->"
        },
        'content' : {
          'type' : 'pattern',
          'pattern' : r'<!--######CONTENT_START######-->(.*?)<!--######CONTENT_END######-->',
          'replace' :  "<!--######CONTENT_START######-->{}<!--######CONTENT_END######-->"
        },
        'section' : {
          'title' : {
            'type' : 'sort',
            'start' :"""
              <section style="text-align: center; justify-content: center; display: flex; flex-flow: row; margin-bottom: 12px; visibility: visible;" powered-by="xiumi.us">
                  <section style="display: inline-block; vertical-align: top; width: 15px; flex: 0 0 auto; height: auto; margin-right: -5px; visibility: visible;">
                    <section style="display: flex; width: 100%; flex-flow: column; visibility: visible;" powered-by="xiumi.us">
                      <section style="z-index: 2; visibility: visible;" powered-by="xiumi.us">
                        <section style="margin-top: -5px; margin-right: 0%; margin-left: 0%; line-height: 0; visibility: visible;">
                          <section style="vertical-align: middle; display: inline-block; line-height: 0; width: 15px; height: auto; visibility: visible;">
                            <img data-imgfileid="502667659" data-ratio="1.162037037037037" data-s="300,640" data-src="https://mmbiz.qpic.cn/sz_mmbiz_png/EreKqcylfQjib0DNlZgENdlApGzczia0gZP0CoiaapdwycZUTDrvSxIlsvVPtesU5Z8jgOzRXKM5IcZia1KuiaOhK1A/640?wx_fmt=png&amp;from=appmsg" data-type="png" data-w="1080" style="vertical-align: middle; width: 15px !important; height: auto !important; visibility: visible !important;" data-original-style="vertical-align: middle;width: 100%;" data-index="5" src="https://mmbiz.qpic.cn/sz_mmbiz_png/EreKqcylfQjib0DNlZgENdlApGzczia0gZP0CoiaapdwycZUTDrvSxIlsvVPtesU5Z8jgOzRXKM5IcZia1KuiaOhK1A/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" class="" _width="100%" alt="图片" data-fail="0">
                          </section>
                        </section>
                      </section>
                    </section>
                  </section>
                  <section style="display: inline-block; vertical-align: top; width: auto; background-color: rgb(255, 215, 192); flex: 0 0 auto; align-self: flex-start; min-width: 10%; height: auto; padding: 6px 15px 4px; border-radius: 10px; overflow: hidden; visibility: visible;">
                    <section style="font-size: 17px; color: rgb(218, 100, 76); line-height: 1.5; padding-right: 5px; padding-left: 5px; visibility: visible;" powered-by="xiumi.us">
            """,
            'text' : """
              <p style="visibility: visible;">
                <strong style="visibility: visible;">#######</strong>
              </p>
            """,
            'end' : """
                    </section>
                  </section>
                  <section style="display: inline-block;vertical-align: bottom;width: 25px;flex: 0 0 auto;height: auto;align-self: flex-end;margin-left: -5px;">
                    <section style="display: flex;width: 100%;flex-flow: column;" powered-by="xiumi.us">
                      <section style="z-index: 2;transform: perspective(0px);transform-style: flat;" powered-by="xiumi.us">
                        <section style="margin-top: -5px;margin-right: 0%;margin-left: 0%;line-height: 0;transform: translate3d(-6px, 0px, 0px) rotateX(180deg);">
                          <section style="vertical-align: middle;display: inline-block;line-height: 0;width: 15px;height: auto;">
                            <img data-imgfileid="502667658" data-ratio="1.162037037037037" data-s="300,640" data-src="https://mmbiz.qpic.cn/sz_mmbiz_png/EreKqcylfQjib0DNlZgENdlApGzczia0gZ6pbBqHibnEIvg4N361SA0iazNRc0pZ2ahVVd1SwBVHRwAXFnJ6CtibJQA/640?wx_fmt=png&amp;from=appmsg" data-type="png" data-w="1080" style="vertical-align: middle; width: 15px !important; height: auto !important; visibility: visible !important;" data-original-style="vertical-align: middle;width: 100%;" data-index="6" src="https://mmbiz.qpic.cn/sz_mmbiz_png/EreKqcylfQjib0DNlZgENdlApGzczia0gZ6pbBqHibnEIvg4N361SA0iazNRc0pZ2ahVVd1SwBVHRwAXFnJ6CtibJQA/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" class="" _width="100%" alt="图片" data-fail="0">
                          </section>
                        </section>
                      </section>
                    </section>
                  </section>
                </section>
            """,
          },
          'content' : {
            'start' : """
              <section style="display: flex;width: 100%;flex-flow: column;" powered-by="xiumi.us">
	              <section style="z-index: 1;" powered-by="xiumi.us">
		              <section style="text-align: center;justify-content: center;display: flex;flex-flow: row;">
			              <section style="display: inline-block;width: 90%;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(255, 255, 255);border-radius: 1px 5px;overflow: hidden;height: auto;border-style: solid;border-width: 1px;border-color: rgb(255, 225, 186);">
				              <section style="justify-content: center;display: flex;flex-flow: row;" powered-by="xiumi.us">
					              <section style="display: inline-block;width: 93%;vertical-align: top;border-width: 1px;flex: 0 0 auto;height: auto;border-radius: 5px;border-style: none;border-color: rgb(185, 218, 255);overflow: hidden;box-shadow: rgb(0, 0, 0) 0px 0px 0px;align-self: flex-start;padding: 10px 5px;">
            """ ,
            'text' : """
                          <section style="color: rgb(99, 99, 99);text-align: justify;letter-spacing: 2px;line-height: 2;padding-right: 6px;padding-left: 6px;" powered-by="xiumi.us">
							              <p style="text-indent: 2.25em;text-wrap: wrap;">########</p>
						              </section>
            """,
            'image' : """
                          <section style="margin-top: 10px;margin-bottom: 10px;line-height: 0;" powered-by="xiumi.us">
							              <section style="vertical-align: middle;display: inline-block;line-height: 0;">
								              <img class="rich_pages wxw-img" data-imgfileid="502667660" data-ratio="0.6669921875" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EreKqcylfQjib0DNlZgENdlApGzczia0gZHn4dicDByUSguOg9UHuMJ31nqXpeKyjdGlOFSmtia1OA00k8zF5HdaPA/640?wx_fmt=jpeg&amp;from=appmsg" data-type="jpeg" data-w="1024" style="vertical-align: middle; width: 554.781px !important; height: auto !important; visibility: visible !important;" data-original-style="vertical-align: middle;width: 100%;" data-index="7" src="########" _width="100%" alt="图片" data-fail="0">
							              </section>
						              </section>
            """,
            'end' : """
                				</section>
				              </section>
				              <section style="transform: perspective(0px);transform-style: flat;" powered-by="xiumi.us">
					              <section style="text-align: left;justify-content: flex-start;display: flex;flex-flow: row;margin-top: 10px;margin-bottom: -1px;transform: rotateX(180deg) rotateY(180deg);">
						              <section style="display: inline-block; width: 100%; vertical-align: top; align-self: flex-start; flex: 0 0 auto; background-position: 50% 50%; background-repeat: no-repeat; background-size: 100% 100%; background-attachment: scroll; background-image: url('https://mmbiz.qpic.cn/sz_mmbiz_png/EreKqcylfQjib0DNlZgENdlApGzczia0gZhBibMPX9rNmztrbmibeQiabiav0KCiasgia0xoibpb9tunsCsbEia9FTO4rMuw/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=15&wx_lazy=1');">
							              <section style="justify-content: flex-start;display: flex;flex-flow: row;margin-bottom: -7px;" powered-by="xiumi.us">
								              <section style="display: inline-block;vertical-align: top;width: 50%;align-self: flex-start;flex: 0 0 auto;">
									              <section style="transform: perspective(0px);transform-style: flat;" powered-by="xiumi.us">
										              <section style="line-height: 0;transform: rotateX(180deg);">
											              <section style="vertical-align: middle;display: inline-block;line-height: 0;width: 50px;height: auto;">
												              <img data-imgfileid="502667661" data-ratio="0.559322033898305" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/EreKqcylfQjib0DNlZgENdlApGzczia0gZFFYv29ss4bAofhjfRuZzXCeiaQNxMQZhvMYniclEzZhntIO5G1C7M7cQ/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" data-type="png" data-w="118" style="vertical-align: middle; width: 50px !important; height: 27.9661px !important;" data-original-style="vertical-align: middle;width: 100%;" data-index="12" class="js_img_placeholder" _width="100%" alt="图片">
											              </section>
										              </section>
									              </section>
								              </section>
								              <section style="display: inline-block;vertical-align: top;width: 50%;align-self: flex-start;flex: 0 0 auto;">
									              <section style="text-align: right;line-height: 0;" powered-by="xiumi.us">
										              <section style="vertical-align: middle;display: inline-block;line-height: 0;width: 75px;height: auto;">
											              <img data-imgfileid="502667668" data-ratio="0.5820512820512821" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/EreKqcylfQjib0DNlZgENdlApGzczia0gZBqAGqFVnLfF6Q8Hiat7iaDSNEhNj2BvZVweNzqQNfBvawiaI9GxRpznuQ/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" data-type="png" data-w="390" style="vertical-align: middle; width: 75px !important; height: 43.6538px !important;" data-original-style="vertical-align: middle;width: 100%;" data-index="13" class="js_img_placeholder" _width="100%" alt="图片">
										              </section>
									              </section>
								              </section>
							              </section>
						              </section>
					              </section>
				              </section>
			              </section>
		              </section>
	              </section>
              </section>
            """
          }
        },
        'line' : 
          """
              <p style="text-wrap: wrap;" powered-by="xiumi.us"><br></p>
          """
    }
]